//----------------------------------------
// Copyright © yanghy. All Rights Reserved.
//
// Licensed under Lazarus.modifiedLGPL
//----------------------------------------

{====== events ======}
procedure CEFChromium_SetOnCookieVisitorDestroyed(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$DEFINE EventMethodName := ChromiumEvent_OnCookieVisitorDestroyed}
  {$DEFINE EventName := OnCookieVisitorDestroyed}
  EventMethodCode
end;

procedure CEFChromium_SetOnCookiesVisited(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$DEFINE EventMethodName := ChromiumEvent_OnCookiesVisited}
  {$DEFINE EventName := OnCookiesVisited}
  EventMethodCode
end;

procedure CEFChromium_SetOnCookiesFlushed(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$DEFINE EventMethodName := ChromiumEvent_OnCookiesFlushed}
  {$DEFINE EventName := OnCookiesFlushed}
  EventMethodCode
end;

procedure CEFChromium_SetOnCookiesDeleted(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$DEFINE EventMethodName := ChromiumEvent_OnCookiesDeleted}
  {$DEFINE EventName := OnCookiesDeleted}
  EventMethodCode
end;

procedure CEFChromium_SetOnCookieSet(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$DEFINE EventMethodName := ChromiumEvent_OnCookieSet}
  {$DEFINE EventName := OnCookieSet}
  EventMethodCode
end;

procedure CEFChromium_SetOnAfterCreated(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$DEFINE EventMethodName := ChromiumEvent_OnAfterCreated}
  {$DEFINE EventName := OnAfterCreated}
  EventMethodCode
end;

procedure CEFChromium_SetOnBeforeBrowse(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$DEFINE EventMethodName := ChromiumEvent_OnBeforeBrowse}
  {$DEFINE EventName := OnBeforeBrowse}
  EventMethodCode
end;

procedure CEFChromium_SetOnAddressChange(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$DEFINE EventMethodName := ChromiumEvent_OnAddressChange}
  {$DEFINE EventName := OnAddressChange}
  EventMethodCode
end;

procedure CEFChromium_SetOnBeforeClose(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$DEFINE EventMethodName := ChromiumEvent_OnBeforeClose}
  {$DEFINE EventName := OnBeforeClose}
  EventMethodCode
end;

procedure CEFChromium_SetOnClose(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$DEFINE EventMethodName := ChromiumEvent_OnClose}
  {$DEFINE EventName := OnClose}
  EventMethodCode
end;

procedure CEFChromium_SetOnBeforeContextMenu(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$DEFINE EventMethodName := ChromiumEvent_OnBeforeContextMenu}
  {$DEFINE EventName := OnBeforeContextMenu}
  EventMethodCode
end;

procedure CEFChromium_SetOnContextMenuCommand(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$DEFINE EventMethodName := ChromiumEvent_OnContextMenuCommand}
  {$DEFINE EventName := OnContextMenuCommand}
  EventMethodCode
end;

procedure CEFChromium_SetOnContextMenuDismissed(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$DEFINE EventMethodName := ChromiumEvent_OnContextMenuDismissed}
  {$DEFINE EventName := OnContextMenuDismissed}
  EventMethodCode
end;

procedure CEFChromium_SetOnPdfPrintFinished(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$DEFINE EventMethodName := ChromiumEvent_OnPdfPrintFinished}
  {$DEFINE EventName := OnPdfPrintFinished}
  EventMethodCode
end;

procedure CEFChromium_SetOnLoadStart(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$DEFINE EventMethodName := ChromiumEvent_OnLoadStart}
  {$DEFINE EventName := OnLoadStart}
  EventMethodCode
end;

procedure CEFChromium_SetOnLoadingStateChange(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$DEFINE EventMethodName := ChromiumEvent_OnLoadingStateChange}
  {$DEFINE EventName := OnLoadingStateChange}
  EventMethodCode
end;

procedure CEFChromium_SetOnLoadingProgressChange(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$DEFINE EventMethodName := ChromiumEvent_OnLoadingProgressChange}
  {$DEFINE EventName := OnLoadingProgressChange}
  EventMethodCode
end;

procedure CEFChromium_SetOnLoadError(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$DEFINE EventMethodName := ChromiumEvent_OnLoadError}
  {$DEFINE EventName := OnLoadError}
  EventMethodCode
end;

procedure CEFChromium_SetOnLoadEnd(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$DEFINE EventMethodName := ChromiumEvent_OnLoadEnd}
  {$DEFINE EventName := OnLoadEnd}
  EventMethodCode
end;

procedure CEFChromium_SetOnBeforeDownload(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$DEFINE EventMethodName := ChromiumEvent_OnBeforeDownload}
  {$DEFINE EventName := OnBeforeDownload}
  EventMethodCode
end;

procedure CEFChromium_SetOnDownloadUpdated(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$DEFINE EventMethodName := ChromiumEvent_OnDownloadUpdated}
  {$DEFINE EventName := OnDownloadUpdated}
  EventMethodCode
end;

procedure CEFChromium_SetOnZoomPctAvailable(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$DEFINE EventMethodName := ChromiumEvent_OnZoomPctAvailable}
  {$DEFINE EventName := OnZoomPctAvailable}
  EventMethodCode
end;

procedure CEFChromium_SetOnFullScreenModeChange(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$DEFINE EventMethodName := ChromiumEvent_OnFullScreenModeChange}
  {$DEFINE EventName := OnFullScreenModeChange}
  EventMethodCode
end;

procedure CEFChromium_SetOnKeyEvent(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$DEFINE EventMethodName := ChromiumEvent_OnKeyEvent}
  {$DEFINE EventName := OnKeyEvent}
  EventMethodCode
end;

procedure CEFChromium_SetOnTitleChange(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$DEFINE EventMethodName := ChromiumEvent_OnTitleChange}
  {$DEFINE EventName := OnTitleChange}
  EventMethodCode
end;

procedure CEFChromium_SetOnRenderCompMsg(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$ifdef windows}
  {$DEFINE EventMethodName := ChromiumEvent_OnRenderCompMsg}
  {$DEFINE EventName := OnRenderCompMsg}
  EventMethodCode
  {$endif}
end;

procedure CEFChromium_SetOnBrowserCompMsg(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$ifdef windows}
  {$DEFINE EventMethodName := ChromiumEvent_OnBrowserCompMsg}
  {$DEFINE EventName := OnBrowserCompMsg}
  EventMethodCode
  {$endif}
end;

procedure CEFChromium_SetOnRenderProcessTerminated(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$DEFINE EventMethodName := ChromiumEvent_OnRenderProcessTerminated}
  {$DEFINE EventName := OnRenderProcessTerminated}
  EventMethodCode
end;

procedure CEFChromium_SetOnRenderViewReady(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$DEFINE EventMethodName := ChromiumEvent_OnRenderViewReady}
  {$DEFINE EventName := OnRenderViewReady}
  EventMethodCode
end;

procedure CEFChromium_SetOnScrollOffsetChanged(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$DEFINE EventMethodName := ChromiumEvent_OnScrollOffsetChanged}
  {$DEFINE EventName := OnScrollOffsetChanged}
  EventMethodCode
end;

procedure CEFChromium_SetOnProcessMessageReceived(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$DEFINE EventMethodName := ChromiumEvent_OnProcessMessageReceived}
  {$DEFINE EventName := OnProcessMessageReceived}
  EventMethodCode
end;

procedure CEFChromium_SetOnFindResult(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$DEFINE EventMethodName := ChromiumEvent_OnFindResult}
  {$DEFINE EventName := OnFindResult}
  EventMethodCode
end;

procedure CEFChromium_SetOnBeforeResourceLoad(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$DEFINE EventMethodName := ChromiumEvent_OnBeforeResourceLoad}
  {$DEFINE EventName := OnBeforeResourceLoad}
  EventMethodCode
end;

procedure CEFChromium_SetOnResourceResponse(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$DEFINE EventMethodName := ChromiumEvent_OnResourceResponse}
  {$DEFINE EventName := OnResourceResponse}
  EventMethodCode
end;

procedure CEFChromium_SetOnResourceRedirect(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$DEFINE EventMethodName := ChromiumEvent_OnResourceRedirect}
  {$DEFINE EventName := OnResourceRedirect}
  EventMethodCode
end;

procedure CEFChromium_SetOnResourceLoadComplete(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$DEFINE EventMethodName := ChromiumEvent_OnResourceLoadComplete}
  {$DEFINE EventName := OnResourceLoadComplete}
  EventMethodCode
end;

procedure CEFChromium_SetOnFrameAttached(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$DEFINE EventMethodName := ChromiumEvent_OnFrameAttached}
  {$DEFINE EventName := OnFrameAttached}
  EventMethodCode
end;

procedure CEFChromium_SetOnFrameCreated(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$DEFINE EventMethodName := ChromiumEvent_OnFrameCreated}
  {$DEFINE EventName := OnFrameCreated}
  EventMethodCode
end;

procedure CEFChromium_SetOnFrameDetached(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$DEFINE EventMethodName := ChromiumEvent_OnFrameDetached}
  {$DEFINE EventName := OnFrameDetached}
  EventMethodCode
end;

procedure CEFChromium_SetOnMainFrameChanged(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$DEFINE EventMethodName := ChromiumEvent_OnMainFrameChanged}
  {$DEFINE EventName := OnMainFrameChanged}
  EventMethodCode
end;

procedure CEFChromium_SetOnBeforePopup(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$DEFINE EventMethodName := ChromiumEvent_OnBeforePopup}
  {$DEFINE EventName := OnBeforePopup}
  EventMethodCode
end;

procedure CEFChromium_SetOnOpenUrlFromTab(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$DEFINE EventMethodName := ChromiumEvent_OnOpenUrlFromTab}
  {$DEFINE EventName := OnOpenUrlFromTab}
  EventMethodCode
end;

procedure CEFChromium_SetOnDragEnter(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$DEFINE EventMethodName := ChromiumEvent_OnDragEnter}
  {$DEFINE EventName := OnDragEnter}
  EventMethodCode
end;

procedure CEFChromium_SetOnDraggableRegionsChanged(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$DEFINE EventMethodName := ChromiumEvent_OnDraggableRegionsChanged}
  {$DEFINE EventName := OnDraggableRegionsChanged}
  EventMethodCode
end;

procedure CEFChromium_SetOnGetAuthCredentials(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$DEFINE EventMethodName := ChromiumEvent_OnGetAuthCredentials}
  {$DEFINE EventName := OnGetAuthCredentials}
  EventMethodCode
end;

procedure CEFChromium_SetOnPrintStart(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$IFDEF Linux}
  {$DEFINE EventMethodName := ChromiumEvent_OnPrintStart}
  {$DEFINE EventName := OnPrintStart}
  EventMethodCode
  {$ENDIF}
end;

procedure CEFChromium_SetOnPrintSettings(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$IFDEF Linux}
  {$DEFINE EventMethodName := ChromiumEvent_OnPrintSettings}
  {$DEFINE EventName := OnPrintSettings}
  EventMethodCode
  {$ENDIF}
end;

procedure CEFChromium_SetOnPrintDialog(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$IFDEF Linux}
  {$DEFINE EventMethodName := ChromiumEvent_OnPrintDialog}
  {$DEFINE EventName := OnPrintDialog}
  EventMethodCode
  {$ENDIF}
end;

procedure CEFChromium_SetOnPrintJob(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$IFDEF Linux}
  {$DEFINE EventMethodName := ChromiumEvent_OnPrintJob}
  {$DEFINE EventName := OnPrintJob}
  EventMethodCode
  {$ENDIF}
end;

procedure CEFChromium_SetOnPrintReset(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$IFDEF Linux}
  {$DEFINE EventMethodName := ChromiumEvent_OnPrintReset}
  {$DEFINE EventName := OnPrintReset}
  EventMethodCode
  {$ENDIF}
end;

procedure CEFChromium_SetOnGetPDFPaperSize(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$IFDEF Linux}
  {$DEFINE EventMethodName := ChromiumEvent_OnGetPDFPaperSize}
  {$DEFINE EventName := OnGetPDFPaperSize}
  EventMethodCode
  {$ENDIF}
end;

procedure CEFChromium_SetOnAcceleratedPaint(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$DEFINE EventMethodName := ChromiumEvent_OnAcceleratedPaint}
  {$DEFINE EventName := OnAcceleratedPaint}
  EventMethodCode
end;

procedure CEFChromium_SetOnAllConnectionsClosed(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$DEFINE EventMethodName := ChromiumEvent_OnAllConnectionsClosed}
  {$DEFINE EventName := OnAllConnectionsClosed}
  EventMethodCode
end;

procedure CEFChromium_SetOnAudioStreamError(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$DEFINE EventMethodName := ChromiumEvent_OnAudioStreamError}
  {$DEFINE EventName := OnAudioStreamError}
  EventMethodCode
end;

procedure CEFChromium_SetOnAudioStreamPacket(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$DEFINE EventMethodName := ChromiumEvent_OnAudioStreamPacket}
  {$DEFINE EventName := OnAudioStreamPacket}
  EventMethodCode
end;

procedure CEFChromium_SetOnAudioStreamStarted(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$DEFINE EventMethodName := ChromiumEvent_OnAudioStreamStarted}
  {$DEFINE EventName := OnAudioStreamStarted}
  EventMethodCode
end;

procedure CEFChromium_SetOnAudioStreamStopped(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$DEFINE EventMethodName := ChromiumEvent_OnAudioStreamStopped}
  {$DEFINE EventName := OnAudioStreamStopped}
  EventMethodCode
end;

procedure CEFChromium_SetOnAutoResize(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$DEFINE EventMethodName := ChromiumEvent_OnAutoResize}
  {$DEFINE EventName := OnAutoResize}
  EventMethodCode
end;

procedure CEFChromium_SetOnBeforeUnloadDialog(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$DEFINE EventMethodName := ChromiumEvent_OnBeforeUnloadDialog}
  {$DEFINE EventName := OnBeforeUnloadDialog}
  EventMethodCode
end;

procedure CEFChromium_SetOnCanDownload(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$DEFINE EventMethodName := ChromiumEvent_OnCanDownload}
  {$DEFINE EventName := OnCanDownload}
  EventMethodCode
end;

procedure CEFChromium_SetOnCanSaveCookie(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$DEFINE EventMethodName := ChromiumEvent_OnCanSaveCookie}
  {$DEFINE EventName := OnCanSaveCookie}
  EventMethodCode
end;

procedure CEFChromium_SetOnCanSendCookie(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$DEFINE EventMethodName := ChromiumEvent_OnCanSendCookie}
  {$DEFINE EventName := OnCanSendCookie}
  EventMethodCode
end;

procedure CEFChromium_SetOnCertificateError(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$DEFINE EventMethodName := ChromiumEvent_OnCertificateError}
  {$DEFINE EventName := OnCertificateError}
  EventMethodCode
end;

procedure CEFChromium_SetOnCertificateExceptionsCleared(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$DEFINE EventMethodName := ChromiumEvent_OnCertificateExceptionsCleared}
  {$DEFINE EventName := OnCertificateExceptionsCleared}
  EventMethodCode
end;

procedure CEFChromium_SetOnChromeCommand(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$DEFINE EventMethodName := ChromiumEvent_OnChromeCommand}
  {$DEFINE EventName := OnChromeCommand}
  EventMethodCode
end;

procedure CEFChromium_SetOnConsoleMessage(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$DEFINE EventMethodName := ChromiumEvent_OnConsoleMessage}
  {$DEFINE EventName := OnConsoleMessage}
  EventMethodCode
end;

procedure CEFChromium_SetOnCursorChange(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$DEFINE EventMethodName := ChromiumEvent_OnCursorChange}
  {$DEFINE EventName := OnCursorChange}
  EventMethodCode
end;

procedure CEFChromium_SetOnDevToolsAgentAttached(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$DEFINE EventMethodName := ChromiumEvent_OnDevToolsAgentAttached}
  {$DEFINE EventName := OnDevToolsAgentAttached}
  EventMethodCode
end;

procedure CEFChromium_SetOnDevToolsAgentDetached(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$DEFINE EventMethodName := ChromiumEvent_OnDevToolsAgentDetached}
  {$DEFINE EventName := OnDevToolsAgentDetached}
  EventMethodCode
end;

procedure CEFChromium_SetOnDevToolsEvent(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$DEFINE EventMethodName := ChromiumEvent_OnDevToolsEvent}
  {$DEFINE EventName := OnDevToolsEvent}
  EventMethodCode
end;

procedure CEFChromium_SetOnDevToolsMessage(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$DEFINE EventMethodName := ChromiumEvent_OnDevToolsMessage}
  {$DEFINE EventName := OnDevToolsMessage}
  EventMethodCode
end;

procedure CEFChromium_SetOnDevToolsMethodRawResult(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$DEFINE EventMethodName := ChromiumEvent_OnDevToolsMethodRawResult}
  {$DEFINE EventName := OnDevToolsMethodRawResult}
  EventMethodCode
end;

procedure CEFChromium_SetOnDevToolsMethodResult(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$DEFINE EventMethodName := ChromiumEvent_OnDevToolsMethodResult}
  {$DEFINE EventName := OnDevToolsMethodResult}
  EventMethodCode
end;

procedure CEFChromium_SetOnDevToolsRawEvent(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$DEFINE EventMethodName := ChromiumEvent_OnDevToolsRawEvent}
  {$DEFINE EventName := OnDevToolsRawEvent}
  EventMethodCode
end;

procedure CEFChromium_SetOnDevToolsRawMessage(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$DEFINE EventMethodName := ChromiumEvent_OnDevToolsRawMessage}
  {$DEFINE EventName := OnDevToolsRawMessage}
  EventMethodCode
end;

procedure CEFChromium_SetOnDialogClosed(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$DEFINE EventMethodName := ChromiumEvent_OnDialogClosed}
  {$DEFINE EventName := OnDialogClosed}
  EventMethodCode
end;

procedure CEFChromium_SetOnDismissPermissionPrompt(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$DEFINE EventMethodName := ChromiumEvent_OnDismissPermissionPrompt}
  {$DEFINE EventName := OnDismissPermissionPrompt}
  EventMethodCode
end;

procedure CEFChromium_SetOnDocumentAvailableInMainFrame(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$DEFINE EventMethodName := ChromiumEvent_OnDocumentAvailableInMainFrame}
  {$DEFINE EventName := OnDocumentAvailableInMainFrame}
  EventMethodCode
end;

procedure CEFChromium_SetOnDownloadImageFinished(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$DEFINE EventMethodName := ChromiumEvent_OnDownloadImageFinished}
  {$DEFINE EventName := OnDownloadImageFinished}
  EventMethodCode
end;

procedure CEFChromium_SetOnExecuteTaskOnCefThread(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$DEFINE EventMethodName := ChromiumEvent_OnExecuteTaskOnCefThread}
  {$DEFINE EventName := OnExecuteTaskOnCefThread}
  EventMethodCode
end;

procedure CEFChromium_SetOnFavIconUrlChange(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$DEFINE EventMethodName := ChromiumEvent_OnFavIconUrlChange}
  {$DEFINE EventName := OnFavIconUrlChange}
  EventMethodCode
end;

procedure CEFChromium_SetOnFileDialog(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$DEFINE EventMethodName := ChromiumEvent_OnFileDialog}
  {$DEFINE EventName := OnFileDialog}
  EventMethodCode
end;

procedure CEFChromium_SetOnGetAccessibilityHandler(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$DEFINE EventMethodName := ChromiumEvent_OnGetAccessibilityHandler}
  {$DEFINE EventName := OnGetAccessibilityHandler}
  EventMethodCode
end;

procedure CEFChromium_SetOnGetAudioParameters(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$DEFINE EventMethodName := ChromiumEvent_OnGetAudioParameters}
  {$DEFINE EventName := OnGetAudioParameters}
  EventMethodCode
end;

procedure CEFChromium_SetOnGetResourceHandler(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$DEFINE EventMethodName := ChromiumEvent_OnGetResourceHandler}
  {$DEFINE EventName := OnGetResourceHandler}
  EventMethodCode
end;

procedure CEFChromium_SetOnGetResourceRequestHandler_ReqCtxHdlr(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$DEFINE EventMethodName := ChromiumEvent_OnGetResourceRequestHandler_ReqCtxHdlr}
  {$DEFINE EventName := OnGetResourceRequestHandler_ReqCtxHdlr}
  EventMethodCode
end;

procedure CEFChromium_SetOnGetResourceRequestHandler_ReqHdlr(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$DEFINE EventMethodName := ChromiumEvent_OnGetResourceRequestHandler_ReqHdlr}
  {$DEFINE EventName := OnGetResourceRequestHandler_ReqHdlr}
  EventMethodCode
end;

procedure CEFChromium_SetOnGetResourceResponseFilter(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$DEFINE EventMethodName := ChromiumEvent_OnGetResourceResponseFilter}
  {$DEFINE EventName := OnGetResourceResponseFilter}
  EventMethodCode
end;

procedure CEFChromium_SetOnGetRootScreenRect(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$DEFINE EventMethodName := ChromiumEvent_OnGetRootScreenRect}
  {$DEFINE EventName := OnGetRootScreenRect}
  EventMethodCode
end;

procedure CEFChromium_SetOnGetScreenInfo(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$DEFINE EventMethodName := ChromiumEvent_OnGetScreenInfo}
  {$DEFINE EventName := OnGetScreenInfo}
  EventMethodCode
end;

procedure CEFChromium_SetOnGetScreenPoint(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$DEFINE EventMethodName := ChromiumEvent_OnGetScreenPoint}
  {$DEFINE EventName := OnGetScreenPoint}
  EventMethodCode
end;

procedure CEFChromium_SetOnGetTouchHandleSize(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$DEFINE EventMethodName := ChromiumEvent_OnGetTouchHandleSize}
  {$DEFINE EventName := OnGetTouchHandleSize}
  EventMethodCode
end;

procedure CEFChromium_SetOnGetViewRect(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$DEFINE EventMethodName := ChromiumEvent_OnGetViewRect}
  {$DEFINE EventName := OnGetViewRect}
  EventMethodCode
end;

procedure CEFChromium_SetOnGotFocus(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$DEFINE EventMethodName := ChromiumEvent_OnGotFocus}
  {$DEFINE EventName := OnGotFocus}
  EventMethodCode
end;

procedure CEFChromium_SetOnHttpAuthCredentialsCleared(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$DEFINE EventMethodName := ChromiumEvent_OnHttpAuthCredentialsCleared}
  {$DEFINE EventName := OnHttpAuthCredentialsCleared}
  EventMethodCode
end;

procedure CEFChromium_SetOnIMECompositionRangeChanged(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$DEFINE EventMethodName := ChromiumEvent_OnIMECompositionRangeChanged}
  {$DEFINE EventName := OnIMECompositionRangeChanged}
  EventMethodCode
end;

procedure CEFChromium_SetOnJsDialog(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$DEFINE EventMethodName := ChromiumEvent_OnJsDialog}
  {$DEFINE EventName := OnJsDialog}
  EventMethodCode
end;

procedure CEFChromium_SetOnMediaAccessChange(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$DEFINE EventMethodName := ChromiumEvent_OnMediaAccessChange}
  {$DEFINE EventName := OnMediaAccessChange}
  EventMethodCode
end;

procedure CEFChromium_SetOnMediaRouteCreateFinished(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$DEFINE EventMethodName := ChromiumEvent_OnMediaRouteCreateFinished}
  {$DEFINE EventName := OnMediaRouteCreateFinished}
  EventMethodCode
end;

procedure CEFChromium_SetOnMediaSinkDeviceInfo(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$DEFINE EventMethodName := ChromiumEvent_OnMediaSinkDeviceInfo}
  {$DEFINE EventName := OnMediaSinkDeviceInfo}
  EventMethodCode
end;

procedure CEFChromium_SetOnNavigationVisitorResultAvailable(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$DEFINE EventMethodName := ChromiumEvent_OnNavigationVisitorResultAvailable}
  {$DEFINE EventName := OnNavigationVisitorResultAvailable}
  EventMethodCode
end;

procedure CEFChromium_SetOnPaint(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$DEFINE EventMethodName := ChromiumEvent_OnPaint}
  {$DEFINE EventName := OnPaint}
  EventMethodCode
end;

procedure CEFChromium_SetOnPopupShow(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$DEFINE EventMethodName := ChromiumEvent_OnPopupShow}
  {$DEFINE EventName := OnPopupShow}
  EventMethodCode
end;

procedure CEFChromium_SetOnPopupSize(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$DEFINE EventMethodName := ChromiumEvent_OnPopupSize}
  {$DEFINE EventName := OnPopupSize}
  EventMethodCode
end;

procedure CEFChromium_SetOnPrefsAvailable(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$DEFINE EventMethodName := ChromiumEvent_OnPrefsAvailable}
  {$DEFINE EventName := OnPrefsAvailable}
  EventMethodCode
end;

procedure CEFChromium_SetOnPrefsUpdated(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$DEFINE EventMethodName := ChromiumEvent_OnPrefsUpdated}
  {$DEFINE EventName := OnPrefsUpdated}
  EventMethodCode
end;

procedure CEFChromium_SetOnPreKeyEvent(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$DEFINE EventMethodName := ChromiumEvent_OnPreKeyEvent}
  {$DEFINE EventName := OnPreKeyEvent}
  EventMethodCode
end;

procedure CEFChromium_SetOnProtocolExecution(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$DEFINE EventMethodName := ChromiumEvent_OnProtocolExecution}
  {$DEFINE EventName := OnProtocolExecution}
  EventMethodCode
end;

procedure CEFChromium_SetOnQuickMenuCommand(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$DEFINE EventMethodName := ChromiumEvent_OnQuickMenuCommand}
  {$DEFINE EventName := OnQuickMenuCommand}
  EventMethodCode
end;

procedure CEFChromium_SetOnQuickMenuDismissed(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$DEFINE EventMethodName := ChromiumEvent_OnQuickMenuDismissed}
  {$DEFINE EventName := OnQuickMenuDismissed}
  EventMethodCode
end;

procedure CEFChromium_SetOnRequestContextInitialized(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$DEFINE EventMethodName := ChromiumEvent_OnRequestContextInitialized}
  {$DEFINE EventName := OnRequestContextInitialized}
  EventMethodCode
end;

procedure CEFChromium_SetOnRequestMediaAccessPermission(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$DEFINE EventMethodName := ChromiumEvent_OnRequestMediaAccessPermission}
  {$DEFINE EventName := OnRequestMediaAccessPermission}
  EventMethodCode
end;

procedure CEFChromium_SetOnResetDialogState(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$DEFINE EventMethodName := ChromiumEvent_OnResetDialogState}
  {$DEFINE EventName := OnResetDialogState}
  EventMethodCode
end;

procedure CEFChromium_SetOnResolvedHostAvailable(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$DEFINE EventMethodName := ChromiumEvent_OnResolvedHostAvailable}
  {$DEFINE EventName := OnResolvedHostAvailable}
  EventMethodCode
end;

procedure CEFChromium_SetOnRouteMessageReceived(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$DEFINE EventMethodName := ChromiumEvent_OnRouteMessageReceived}
  {$DEFINE EventName := OnRouteMessageReceived}
  EventMethodCode
end;

procedure CEFChromium_SetOnRoutes(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$DEFINE EventMethodName := ChromiumEvent_OnRoutes}
  {$DEFINE EventName := OnRoutes}
  EventMethodCode
end;

procedure CEFChromium_SetOnRouteStateChanged(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$DEFINE EventMethodName := ChromiumEvent_OnRouteStateChanged}
  {$DEFINE EventName := OnRouteStateChanged}
  EventMethodCode
end;

procedure CEFChromium_SetOnRunContextMenu(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$DEFINE EventMethodName := ChromiumEvent_OnRunContextMenu}
  {$DEFINE EventName := OnRunContextMenu}
  EventMethodCode
end;

procedure CEFChromium_SetOnRunQuickMenu(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$DEFINE EventMethodName := ChromiumEvent_OnRunQuickMenu}
  {$DEFINE EventName := OnRunQuickMenu}
  EventMethodCode
end;

procedure CEFChromium_SetOnSelectClientCertificate(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$DEFINE EventMethodName := ChromiumEvent_OnSelectClientCertificate}
  {$DEFINE EventName := OnSelectClientCertificate}
  EventMethodCode
end;

procedure CEFChromium_SetOnSetFocus(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$DEFINE EventMethodName := ChromiumEvent_OnSetFocus}
  {$DEFINE EventName := OnSetFocus}
  EventMethodCode
end;

procedure CEFChromium_SetOnShowPermissionPrompt(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$DEFINE EventMethodName := ChromiumEvent_OnShowPermissionPrompt}
  {$DEFINE EventName := OnShowPermissionPrompt}
  EventMethodCode
end;

procedure CEFChromium_SetOnSinks(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$DEFINE EventMethodName := ChromiumEvent_OnSinks}
  {$DEFINE EventName := OnSinks}
  EventMethodCode
end;

procedure CEFChromium_SetOnStartDragging(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$DEFINE EventMethodName := ChromiumEvent_OnStartDragging}
  {$DEFINE EventName := OnStartDragging}
  EventMethodCode
end;

procedure CEFChromium_SetOnStatusMessage(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$DEFINE EventMethodName := ChromiumEvent_OnStatusMessage}
  {$DEFINE EventName := OnStatusMessage}
  EventMethodCode
end;

procedure CEFChromium_SetOnTakeFocus(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$DEFINE EventMethodName := ChromiumEvent_OnTakeFocus}
  {$DEFINE EventName := OnTakeFocus}
  EventMethodCode
end;

procedure CEFChromium_SetOnTextResultAvailable(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$DEFINE EventMethodName := ChromiumEvent_OnTextResultAvailable}
  {$DEFINE EventName := OnTextResultAvailable}
  EventMethodCode
end;

procedure CEFChromium_SetOnTextSelectionChanged(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$DEFINE EventMethodName := ChromiumEvent_OnTextSelectionChanged}
  {$DEFINE EventName := OnTextSelectionChanged}
  EventMethodCode
end;

procedure CEFChromium_SetOnTooltip(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$DEFINE EventMethodName := ChromiumEvent_OnTooltip}
  {$DEFINE EventName := OnTooltip}
  EventMethodCode
end;

procedure CEFChromium_SetOnTouchHandleStateChanged(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$DEFINE EventMethodName := ChromiumEvent_OnTouchHandleStateChanged}
  {$DEFINE EventName := OnTouchHandleStateChanged}
  EventMethodCode
end;

procedure CEFChromium_SetOnUpdateDragCursor(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$DEFINE EventMethodName := ChromiumEvent_OnUpdateDragCursor}
  {$DEFINE EventName := OnUpdateDragCursor}
  EventMethodCode
end;

procedure CEFChromium_SetOnVirtualKeyboardRequested(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$DEFINE EventMethodName := ChromiumEvent_OnVirtualKeyboardRequested}
  {$DEFINE EventName := OnVirtualKeyboardRequested}
  EventMethodCode
end;

procedure CEFChromium_SetOnIsChromeAppMenuItemVisible(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$DEFINE EventMethodName := ChromiumEvent_OnIsChromeAppMenuItemVisible}
  {$DEFINE EventName := OnIsChromeAppMenuItemVisible}
  EventMethodCode
end;

procedure CEFChromium_SetOnIsChromeAppMenuItemEnabled(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$DEFINE EventMethodName := ChromiumEvent_OnIsChromeAppMenuItemEnabled}
  {$DEFINE EventName := OnIsChromeAppMenuItemEnabled}
  EventMethodCode
end;

procedure CEFChromium_SetOnIsChromePageActionIconVisible(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$DEFINE EventMethodName := ChromiumEvent_OnIsChromePageActionIconVisible}
  {$DEFINE EventName := OnIsChromePageActionIconVisible}
  EventMethodCode
end;

procedure CEFChromium_SetOnIsChromeToolbarButtonVisible(const AObj: TChromium; AEventData: Pointer); extdecl;
begin
  {$DEFINE EventMethodName := ChromiumEvent_OnIsChromeToolbarButtonVisible}
  {$DEFINE EventName := OnIsChromeToolbarButtonVisible}
  EventMethodCode
end;


exports
  CEFChromium_SetOnAfterCreated,
  CEFChromium_SetOnBeforeBrowse,
  CEFChromium_SetOnAddressChange,
  CEFChromium_SetOnBeforeClose,
  CEFChromium_SetOnClose,
  CEFChromium_SetOnPdfPrintFinished,
  CEFChromium_SetOnZoomPctAvailable,
  CEFChromium_SetOnFullScreenModeChange,
  CEFChromium_SetOnKeyEvent,
  CEFChromium_SetOnTitleChange,
  CEFChromium_SetOnBeforeContextMenu,
  CEFChromium_SetOnContextMenuCommand,
  CEFChromium_SetOnContextMenuDismissed,
  CEFChromium_SetOnBeforePopup,
  CEFChromium_SetOnOpenUrlFromTab,
  CEFChromium_SetOnDragEnter,
  CEFChromium_SetOnDraggableRegionsChanged,//drag - css [-webkit-app-region： drag/no-drag]
  CEFChromium_SetOnLoadStart,
  CEFChromium_SetOnLoadingStateChange,
  CEFChromium_SetOnLoadingProgressChange,
  CEFChromium_SetOnLoadError,
  CEFChromium_SetOnLoadEnd,
  CEFChromium_SetOnBeforeDownload,
  CEFChromium_SetOnDownloadUpdated,
  CEFChromium_SetOnRenderCompMsg,
  CEFChromium_SetOnBrowserCompMsg,
  CEFChromium_SetOnRenderProcessTerminated,
  CEFChromium_SetOnRenderViewReady,
  CEFChromium_SetOnScrollOffsetChanged,
  CEFChromium_SetOnProcessMessageReceived,
  CEFChromium_SetOnFindResult,
  CEFChromium_SetOnCookieVisitorDestroyed,
  CEFChromium_SetOnCookiesVisited,
  CEFChromium_SetOnCookiesFlushed,
  CEFChromium_SetOnCookiesDeleted,
  CEFChromium_SetOnCookieSet,
  CEFChromium_SetOnBeforeResourceLoad,
  CEFChromium_SetOnResourceResponse,
  CEFChromium_SetOnResourceRedirect,
  CEFChromium_SetOnResourceLoadComplete,
  CEFChromium_SetOnFrameAttached,
  CEFChromium_SetOnFrameCreated,
  CEFChromium_SetOnFrameDetached,
  CEFChromium_SetOnMainFrameChanged,
  CEFChromium_SetOnGetAuthCredentials,
  CEFChromium_SetOnPrintStart,
  CEFChromium_SetOnPrintSettings,
  CEFChromium_SetOnPrintDialog,
  CEFChromium_SetOnPrintJob,
  CEFChromium_SetOnPrintReset,
  CEFChromium_SetOnGetPDFPaperSize,
  CEFChromium_SetOnAcceleratedPaint,
  CEFChromium_SetOnAllConnectionsClosed,
  CEFChromium_SetOnAudioStreamError,
  CEFChromium_SetOnAudioStreamPacket,
  CEFChromium_SetOnAudioStreamStarted,
  CEFChromium_SetOnAudioStreamStopped,
  CEFChromium_SetOnAutoResize,
  CEFChromium_SetOnBeforeUnloadDialog,
  CEFChromium_SetOnCanDownload,
  CEFChromium_SetOnCanSaveCookie,
  CEFChromium_SetOnCanSendCookie,
  CEFChromium_SetOnCertificateError,
  CEFChromium_SetOnCertificateExceptionsCleared,
  CEFChromium_SetOnChromeCommand,
  CEFChromium_SetOnConsoleMessage,
  CEFChromium_SetOnCursorChange,
  CEFChromium_SetOnDevToolsAgentAttached,
  CEFChromium_SetOnDevToolsAgentDetached,
  CEFChromium_SetOnDevToolsEvent,
  CEFChromium_SetOnDevToolsMessage,
  CEFChromium_SetOnDevToolsMethodRawResult,
  CEFChromium_SetOnDevToolsMethodResult,
  CEFChromium_SetOnDevToolsRawEvent,
  CEFChromium_SetOnDevToolsRawMessage,
  CEFChromium_SetOnDialogClosed,
  CEFChromium_SetOnDismissPermissionPrompt,
  CEFChromium_SetOnDocumentAvailableInMainFrame,
  CEFChromium_SetOnDownloadImageFinished,
  CEFChromium_SetOnExecuteTaskOnCefThread,
  CEFChromium_SetOnFavIconUrlChange,
  CEFChromium_SetOnFileDialog,
  CEFChromium_SetOnGetAccessibilityHandler,
  CEFChromium_SetOnGetAudioParameters,
  CEFChromium_SetOnGetResourceHandler,
  CEFChromium_SetOnGetResourceRequestHandler_ReqCtxHdlr,
  CEFChromium_SetOnGetResourceRequestHandler_ReqHdlr,
  CEFChromium_SetOnGetResourceResponseFilter,
  CEFChromium_SetOnGetRootScreenRect,
  CEFChromium_SetOnGetScreenInfo,
  CEFChromium_SetOnGetScreenPoint,
  CEFChromium_SetOnGetTouchHandleSize,
  CEFChromium_SetOnGetViewRect,
  CEFChromium_SetOnGotFocus,
  CEFChromium_SetOnHttpAuthCredentialsCleared,
  CEFChromium_SetOnIMECompositionRangeChanged,
  CEFChromium_SetOnJsDialog,
  CEFChromium_SetOnMediaAccessChange,
  CEFChromium_SetOnMediaRouteCreateFinished,
  CEFChromium_SetOnMediaSinkDeviceInfo,
  CEFChromium_SetOnNavigationVisitorResultAvailable,
  CEFChromium_SetOnPaint,
  CEFChromium_SetOnPopupShow,
  CEFChromium_SetOnPopupSize,
  CEFChromium_SetOnPrefsAvailable,
  CEFChromium_SetOnPrefsUpdated,
  CEFChromium_SetOnPreKeyEvent,
  CEFChromium_SetOnProtocolExecution,
  CEFChromium_SetOnQuickMenuCommand,
  CEFChromium_SetOnQuickMenuDismissed,
  CEFChromium_SetOnRequestContextInitialized,
  CEFChromium_SetOnRequestMediaAccessPermission,
  CEFChromium_SetOnResetDialogState,
  CEFChromium_SetOnResolvedHostAvailable,
  CEFChromium_SetOnRouteMessageReceived,
  CEFChromium_SetOnRoutes,
  CEFChromium_SetOnRouteStateChanged,
  CEFChromium_SetOnRunContextMenu,
  CEFChromium_SetOnRunQuickMenu,
  CEFChromium_SetOnSelectClientCertificate,
  CEFChromium_SetOnSetFocus,
  CEFChromium_SetOnShowPermissionPrompt,
  CEFChromium_SetOnSinks,
  CEFChromium_SetOnStartDragging,
  CEFChromium_SetOnStatusMessage,
  CEFChromium_SetOnTakeFocus,
  CEFChromium_SetOnTextResultAvailable,
  CEFChromium_SetOnTextSelectionChanged,
  CEFChromium_SetOnTooltip,
  CEFChromium_SetOnTouchHandleStateChanged,
  CEFChromium_SetOnUpdateDragCursor,
  CEFChromium_SetOnVirtualKeyboardRequested,
  CEFChromium_SetOnIsChromeAppMenuItemVisible,
  CEFChromium_SetOnIsChromeAppMenuItemEnabled,
  CEFChromium_SetOnIsChromePageActionIconVisible,
  CEFChromium_SetOnIsChromeToolbarButtonVisible;
